﻿@model TextRPG.Models.ItemDefinition

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>ItemDefinition</legend>

    <div class="display-label">ItemType</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ItemType.Name)
    </div>

    <div class="display-label">WeaponSubClass</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.WeaponSubClass.Name)
    </div>

    <div class="display-label">WeaponClass</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.WeaponClass.Name)
    </div>

    <div class="display-label">DamageType</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DamageType.Name)
    </div>

    <div class="display-label">ArmorClass</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.ArmorClass.Name)
    </div>

    <div class="display-label">Description</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Description)
    </div>

    <div class="display-label">Name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ItemDefinitionID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
